<?php
/*****************************************************************************
*@author:HW
*Email:phamhung.ktxclc@gmail.com
******************************************************************************/



get_header();

//-----------------------------------------------

	$AuctionTheme_adv_code_home_above_content = stripslashes(get_option('AuctionTheme_adv_code_home_above_content'));
		if(!empty($AuctionTheme_adv_code_home_above_content)):
		
			echo '<div class="full_width_a_div">';
			echo stripslashes($AuctionTheme_adv_code_home_above_content);
			echo '</div>';
		
		endif;
		
//----------------------------------------------		
	
		
		
		
		$AuctionTheme_home_page_layout = get_option('AuctionTheme_home_page_layout');
		
		if($AuctionTheme_home_page_layout == "3" or $AuctionTheme_home_page_layout == "4" ):
			
			    echo '<div id="left-sidebar">';
					echo '<ul class="xoxo">';
				 		dynamic_sidebar( 'home-left-widget-area' ); 
					echo '</ul>';
				   echo '</div>';
		
		endif;
		
		
		

?>
	
    


	<div id="content">
    	<div class="start"></div>
    </div>
    
    <!-- ############################ -->
    
   <?php if($AuctionTheme_home_page_layout != "5" && $AuctionTheme_home_page_layout != "4"): ?>
	
    <div id="right-sidebar">
		<ul class="xoxo">
	 <?php dynamic_sidebar( 'home-right-widget-area' ); ?>
		</ul>
       </div>

	<?php endif; ?>
    
    
    <?php
	
		if($AuctionTheme_home_page_layout == "2" ):
			
			    echo '<div id="left-sidebar">';
					echo '<ul class="xoxo">';
				 		dynamic_sidebar( 'home-left-widget-area' ); 
					echo '</ul>';
				   echo '</div>';
		
		endif;
		
	
	?>
    
    

